import HttpClient from '../utils/axios';
import type { LoginParams, LoginModel } from './model/userModel';

export const getLoginInfo = (params: LoginParams) => {
  return HttpClient.post<LoginModel>('/login', params); // 使用泛型指定返回类型
};
